package com.www.pagingdemo.api

import com.google.gson.annotations.SerializedName
import com.www.pagingdemo.model.Repo

/**
 * 保存来自searchRepo API调用的repo响应的数据类。
 * @author MilkCoder
 * @date 2021-09-22
 */
data class RepoSearchResponse(
    @SerializedName("total_count") val total: Int = 0,
    @SerializedName("items") val items: List<Repo> = emptyList(),
    val nextPage: Int? = null
)
